<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreatePhonenumberInfoToTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('phonenumber_info', function(Blueprint $table)
		{
			$table->integer('id');

            $table->string('prefix',6);

            $table->string('mobile_type',50);

            $table->string('phone_header',20);

            $table->string('provance',20);

            $table->string('city',20);

            $table->string('area_code',30);

            $table->string('postcode',20);

//			$table->timestamps();
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('phonenumber_info');
	}

}
